#!/usr/bin/env node

const pi = Math.PI;
class Circle{
  constructor(r){
    this.#r=r;
  }
  get diameter(){
    return 2 * this.#r;
  }
  get circumference(){
    return 2 * this.#r * pi;
  }
  get area(){
    return pi * this.#r * this.#r;
  }

  #r = 0;

}

export default Circle;

